<?php

session_start();

require_once('config.php');
require_once('class/cls_product.php');
require_once('class/cls_customer.php');
require_once('class/cls_coordinator.php');
require_once('right.php');

$product		= new cls_product();
$cus			= new cls_customer();

$right 			= new right();
$coordinator	= new cls_coordinator();

 //echo PHP_VERSION; 
?>        
<html>

<head>

<title>Always New Fashion</title>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<link href="um_sty.css" rel="stylesheet" type="text/css">


</head>


<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" bgcolor="#F7F9F0">



<table id="Table_01" width="775" border="0" cellpadding="0" cellspacing="0" align="center">

	<tr>

		<td>

		<table id="Table_01" width="775" height="32" align="center" border="0" cellpadding="0" cellspacing="0">

	<tr>

		<td width="233" height="32"><img src="images/banner.jpg" width="774" height="100" alt=""></td>

		

	</tr>

</table>

<!-- End ImageReady Slices -->

<table id="Table_02" width="775" height="24" align="center" bgcolor="#000000" border="0" cellpadding="0" cellspacing="0">

	<tr width="450">

		<td width="747" align="left" valign="middle">

		&nbsp;&nbsp;&nbsp;
		
		
		
		<a  href="index.php" class="ummenu" >&nbsp;&nbsp;&nbsp;&nbsp;Home</a>		

		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		
		<a href="customer_service.php" class="ummenu">Customer Services</a>
		
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

		<a href="contact_us.php" class="ummenu">Contact Us</a>
		
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

		<a href="aboutus.php" class="ummenu">About Us</a>
		
		</ul>
		</td>
		
		
		<td width="28" height="24" align="right" valign="middle"><a href="http://66.94.233.46/babelfish/trurl_pagecontent?lp=en_ja&trurl=http%3a%2f%2fwww.umgroups.com">

		</a>

		<a href="http://66.94.233.46/babelfish/trurl_pagecontent?lp=en_zt&trurl=http%3a%2f%2fwww.umgroups.com">		</a>&nbsp;&nbsp;

		<a href="http://66.94.233.46/babelfish/trurl_pagecontent?lp=en_ko&trurl=http%3a%2f%2fwww.umgroups.com">		</a>&nbsp;&nbsp;&nbsp;&nbsp;</td>

	</tr>

</table>

		</td>

	</tr>

	<tr>

		<td>

		<table width="775" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border-left: 1px solid #CCCCCC; border-right: 1px solid #CCCCCC" align="center">

				<tr><td colspan="7" height="25" ></td>

				</tr>

					<td width="8"></td>
					<td width="175" align="left" valign="top" style="padding-top: 40px;"><table id="table1" align="center" bgcolor="#FFFFFF" border="0" cellpadding="0" cellspacing="0">

<?
		
		//echo "jjj".$_SESSION['username'];
  		$object = $coordinator->get_coordinator();
		//echo "<pre>";
		//print_r ($object);
		//echo "</pre>";
		if (count($object) > 0)
		{
			foreach ($object as $row) {
?>

				<tr>

					<td width="40" height="28">

					<img src="main-img/<?= $row['coordinator_id'].".jpg" ?>" width="40" height="28"></td>

					<td height="28">

					<div class="introLinks">

						<a href="um_products.php?coordinator_id=<?= $row['coordinator_id']  ?>"><br>
						&nbsp; 

					  <span style="text-transform: uppercase"><?= $row['coordinator_name']?></span></a></div>

					</td>

				</tr>
				<tr><td height="20px"></td></tr>				

				<tr>

					<td colspan="2">

					<img alt="" src="images/2.gif" border="0" height="2" width="1"></td>

				</tr>			
				
				<?			}//for
		}//if
		

		?>

			
				

			</table><br>
			
			

</td>

					<td width="15"></td>
			
			
				  <td width="400" align="center" valign="top">
				  	<table width="150" align="center" cellpadding="0" cellspacing="0" border="0">
				  		<tr>
				  		  <td><div align="center">
				  		    <h3><em>Welcome To Always New Fashion Shop</em></h3>
				  		  </div></td></tr>
						<tr><td height="20"></td></tr>
						<tr>
						  <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="400" height="226">
                            <param name="movie" value="fashion.swf">
                            <param name="quality" value="high">
                            <embed src="fashion.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="400" height="226"></embed>
                          </object></td>
					  </tr> </table> </td>

					<td width="15" valign="top"></td>

					<td width="178" align="right" valign="top" class="qcontact" style="padding-left: 4px; padding-top:40px;">
		<? $right->showright() ?>
<br></td>

					<td width="14"></td>

				</tr>

		  </table>

		</td>

	</tr>

	<tr>

		<td>

		<table align="center" border="0" width="775" cellpadding="3" cellspacing="0" bgcolor="#FFFFFF" style="border-left: 1px solid #CCCCCC; border-right: 1px solid #CCCCCC" id="table9">

			<tr>

				<td>

				<table border="0" width="100%" id="table10" cellspacing="4">

					<tr><td valign="top" width="21%">
					<form name="form1" method="post" action="productlist.php" >

					<table width="160px" border="0" cellspacing="" cellpadding="3" bgcolor="#FFFFCC" align="center">
  <tr bgcolor="#FCCD87">
    <td height="25px"  align="center" class="boxti">&nbsp;SEARCH PRODUCTS</td>
 </tr>
 <tr><td height="6px" ></td></tr>
  <tr>
    <td  height="20px"  class="qcontact">&nbsp;&nbsp;Brand </td>
    </tr>
	
	<tr>
    <td >
	<?		
		$object	= $product->get_brand_list();
	?>
      <select name="brand">
	<?	  
		if (count($object))
		{
			foreach ($object as $row) {				
				echo '<option value="'.$row['coordinator_id'].'">'.$row["coordinator_name"].'</option>';
			}//iterating to show <option>......<option/>
		}//checking zero record count
	?>
      </select>
    </td>
	</tr>
	
 

  
  
  
  
  <tr>    
    <td  align="center"><input name="cmdsearch" type="submit" value="Search" /> &nbsp;&nbsp;&nbsp;</td>
  </tr>
   <tr><td height="6px" ></td></tr>
</table>
</form>

						</td>

																

					</tr>

				</table></td>

			</tr>

		</table></td>

	</tr>

	<tr>

		<td>

		<table border="0" cellpadding="0" cellspacing="0" width="775" id="table15" bgcolor="#FFFFFF" height="100%">

			<tr>

					<td class="copy">

					<table align="center" border="0" cellpadding="0" cellspacing="0" width="775" id="table6" bgcolor="#FFFFFF" style="border-bottom: 3px solid #DF8A0B; border-left: 1px solid #CCCCCC; border-right: 1px solid #CCCCCC">

			<tr>

				<td width="100%" class="foot">&nbsp;</td>

			</tr>

		</table>

				</td>

			</tr>

		</table></td>

	</tr>

</table>





</body>



</html>